Skip to content

Fix specify version within extra node module#437

Open
hinrichd wants to merge 3 commits intoSchwarzIT:mainfrom
hinrichd:fix-specify-version-within-extra-node-module
Open

Fix specify version within extra node module#437
hinrichd wants to merge 3 commits intoSchwarzIT:mainfrom
hinrichd:fix-specify-version-within-extra-node-module

Conversation

@hinrichd
Copy link
Copy Markdown
Contributor

@hinrichd hinrichd commented Jul 3, 2025

Thank you for making node-red ⚙ better

Retry!!!

This is a small fix up on issue --> #318
So I do not open an new issue.

Split and rsplit will not work properly in some conditions, even the array index -1 will be empty in some common situations. There for i have changed the behaviour of splitting the module name and version for the following common cases and avoid multi /,@ matches:

NODE-RED-NODE-MYSQL
NODE-RED-NODE-MYSQL@2.0.0
NODE-RED-NODE-MYSQL/
@FLOWFUSE/NODE-RED-DASHBOARD
@FLOWFUSE/NODE-RED-DASHBOARD/
@FLOWFUSE/NODE-RED-DASHBOARD@1.2.3

Regards

Also verify you have:

@hinrichd hinrichd requested a review from Kaktor as a code owner July 3, 2025 11:56
@hinrichd hinrichd force-pushed the fix-specify-version-within-extra-node-module branch 2 times, most recently from 290187e to 810eed2 Compare July 3, 2025 12:08
@hinrichd
Copy link
Copy Markdown
Contributor Author

hinrichd commented Jul 3, 2025

@dirien Something went wrong. I have started a new pr! Pleace have a look.

@dirien
Copy link
Copy Markdown
Collaborator

dirien commented Mar 29, 2026

Hey @hinrichd, thanks for picking this up again!

Looks like this branch has merge conflicts with main. Could you rebase it so we can get CI to run and move forward with the review?

git fetch origin main
git rebase origin/main
# fix any conflicts
git push --force-with-lease

Let us know if you run into any trouble with the rebase.

Signed-off-by: Hinrich <16142189+hinrichd@users.noreply.github.com>
Signed-off-by: Hinrich <16142189+hinrichd@users.noreply.github.com>
Signed-off-by: Hinrich <16142189+hinrichd@users.noreply.github.com>
@hinrichd hinrichd force-pushed the fix-specify-version-within-extra-node-module branch from 810eed2 to 6bb0249 Compare March 30, 2026 07:28
@hinrichd
Copy link
Copy Markdown
Contributor Author

Hey @dirien,
The CI checks now look good. I hope this works out well.
regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants